// If user set the max accuracy level, don't let geoclue override
return;
- this._setMaxAccuracyLevel (value, false);
+ this._setMaxAccuracyLevel(value, false);
},
// We (and geoclue) have currently no way to reliably identifying apps so
return true;
},
- _onProxyReady: function (proxy, error) {
+ _onProxyReady: function(proxy, error) {
if (error != null) {
- log (error.message);
+ log(error.message);
this._userSetAccuracy = false;
this._connecting = false;
return;
this._notifyMaxAccuracyLevel();
if (error != null)
- log (error.message);
+ log(error.message);
},
_onGeoclueVanished: function() {
_onOnOffAction: function() {
if (this._maxAccuracyLevel == 0)
- this._setMaxAccuracyLevel (this._availableAccuracyLevel, true);
+ this._setMaxAccuracyLevel(this._availableAccuracyLevel, true);
else
- this._setMaxAccuracyLevel (0, true);
+ this._setMaxAccuracyLevel(0, true);
},
_setMaxAccuracyLevel: function(maxAccuracyLevel, userSet) {
return;
var variant = new GLib.Variant('u', this._maxAccuracyLevel);
- this._agent.emit_property_changed ('MaxAccuracyLevel', variant);
+ this._agent.emit_property_changed('MaxAccuracyLevel', variant);
this._userSetAccuracy = false;
},